
package string.replace;

/**
 * 測試 method replaceAll()<br>
 * <br>
 * Copyright: Copyright (c) 2001-2007<br>
 * Company: 一零四資訊科技股份有限公司
 * 
 * @author Eric.Kao(eric.kao@104.com.tw)
 * @version 1.0
 */
public class TestReplaceAllString
{
	public TestReplaceAllString()
	{
		String str = "1111\n2222\n33333";
		
		str = str.replaceAll( "\n", "<br>" );
		
		System.out.println( "Replace:" + str );
	}

	public static void main( String[] args )
	{
		new TestReplaceAllString();
	}
}
